Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Add functional tests for reauthorizing transforms #156699

Merged
merged 10 commits into from
May 18, 2023

Conversation

qn895
Copy link
Member

@qn895 qn895 commented May 4, 2023

Summary

Part of #152009. This PR adds additional functional tests for reauthorizing transforms.

Flaky test suite runner 1: ✅ Successful after 50 runs
Flaky test suite runner 2: ✅ Successful after 50 runs

Reviewer's note:

  • kibana-operations: This PR also renames a functional test folder start_reset_delete to a more general actions to accommodate this new test and future tests for other actions.

Checklist

Delete any items that are not applicable to this PR.

Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.

When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:

Risk Probability Severity Mitigation/Notes
Multiple Spaces—unexpected behavior in non-default Kibana Space. Low High Integration tests will verify that all features are still supported in non-default Kibana Space and when user switches between spaces.
Multiple nodes—Elasticsearch polling might have race conditions when multiple Kibana nodes are polling for the same tasks. High Low Tasks are idempotent, so executing them multiple times will not result in logical error, but will degrade performance. To test for this case we add plenty of unit tests around this logic and document manual testing procedure.
Code should gracefully handle cases when feature X or plugin Y are disabled. Medium High Unit tests will verify that any feature flag or plugin combination still results in our service operational.
See more potential risk examples

For maintainers

@qn895 qn895 force-pushed the ml-add-func-tests-reauthorizing branch from d58afa5 to 0c5e9c7 Compare May 4, 2023 15:08
@qn895 qn895 mentioned this pull request May 4, 2023
7 tasks
@qn895 qn895 force-pushed the ml-add-func-tests-reauthorizing branch from 2db1baf to 25d2372 Compare May 4, 2023 15:34
@qn895 qn895 marked this pull request as ready for review May 4, 2023 16:55
@qn895 qn895 requested review from a team as code owners May 4, 2023 16:55
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

Copy link
Member

@jbudz jbudz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ftr_configs.yml

@qn895 qn895 force-pushed the ml-add-func-tests-reauthorizing branch from a0b419d to 0f60d37 Compare May 4, 2023 17:59
@qn895 qn895 added the release_note:skip Skip the PR/issue when compiling release notes label May 4, 2023
@qn895 qn895 force-pushed the ml-add-func-tests-reauthorizing branch from 0f60d37 to 491e02d Compare May 4, 2023 18:09
@qn895 qn895 requested a review from pheyos May 8, 2023 17:57
@qn895
Copy link
Member Author

qn895 commented May 17, 2023

@elasticmachine merge upstream

Copy link
Member

@pheyos pheyos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just added a suggestion for an additional check.

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest changes LGTM

@qn895
Copy link
Member Author

qn895 commented May 18, 2023

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
transform 387.1KB 387.1KB +51.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
securitySolution 400 404 +4
total +6

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
securitySolution 480 484 +4
total +6

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @qn895

@qn895 qn895 merged commit 3766cd6 into elastic:main May 18, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label May 18, 2023
delanni pushed a commit to delanni/kibana that referenced this pull request May 25, 2023
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Transforms ML transforms :ml release_note:skip Skip the PR/issue when compiling release notes test_ui_functional test_xpack_functional v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants